<section class="left-section">
	<ul class="nav">
		<!--tmpl-menu-->


		{if in_case_array('fund',$priv) || empty($priv)}
		<li class="nav-parent">
			<a href="javascript:void(0);">
				<i class="glyphicon glyphicon-usd"></i> <span>资金管理</span>
				<i class="pull-right glyphicon glyphicon-plus"></i>
			</a>
			<ul class="children">

				{if in_case_array('admin/fund/index',$priv) || empty($priv)}
				<li><a href="{url /admin/fund/index}"><i class="glyphicon glyphicon-record"></i>资金总览</a></li>
				{/if}

				{if in_case_array('admin/fund/log',$priv) || empty($priv)}

				<li><a href="{url /admin/fund/log}"><i class="glyphicon glyphicon-record"></i>资金流水</a></li>
				{/if}

			</ul>
		</li>
		{/if}
		<!-- leftmenu -->
		{if in_case_array('order',$priv) || in_case_array('contract',$priv) || empty($priv)}
		<li class="nav-parent">
			<a href="javascript:void(0);">
				<i class="glyphicon glyphicon-shopping-cart"></i> <span>交易管理</span>
				<i class="pull-right glyphicon glyphicon-plus"></i>
			</a>
			<ul class="children">

				{if in_case_array('admin/order/add',$priv) || empty($priv)}
				<li><a href="{url /admin/order/add}"><i class="glyphicon glyphicon-record"></i>添加订单</a></li>
				{/if}


				{if in_case_array('admin/order',$priv) || empty($priv)}
				<li><a href="{url /admin/order/index}"><i class="glyphicon glyphicon-record"></i>订单列表</a></li>
				{/if}


				{if in_case_array('admin/contract',$priv) || empty($priv)}
				<li><a href="{url /admin/contract/index}"><i class="glyphicon glyphicon-record"></i>合同列表</a></li>
				{/if}


			</ul>
		</li>
		{/if}


		<!-- leftmenu -->
		{if (in_case_array('product',$priv)||in_case_array('repertory',$priv)) || empty($priv)}
		<li class="nav-parent">
			<a href="javascript:void(0);">
				<i class="glyphicon glyphicon-barcode"></i> <span>商品管理</span>
				<i class="pull-right glyphicon glyphicon-plus"></i>
			</a>
			<ul class="children">
				<!--tmpl-productsubmenu-->

				{if in_case_array('admin/product/add',$priv) || empty($priv)}

				<li><a href="{url /admin/product/add}"><i class="glyphicon glyphicon-record"></i>商品发布</a></li>

				{/if}
				{if in_case_array('admin/product/indexBySale',$priv) || empty($priv)}

				<li><a href="{url /admin/product/indexBySale}"><i class="glyphicon glyphicon-record"></i>出售中的商品</a></li>

				{/if}
				{if in_case_array('admin/product/indexByStore',$priv) || empty($priv)}

				<li><a href="{url /admin/product/indexByStore}"><i class="glyphicon glyphicon-record"></i>仓库中的商品</a></li>

				{/if}
				{if in_case_array('admin/repertory',$priv) || empty($priv)}

				<li><a href="{url /admin/repertory/index}"><i class="glyphicon glyphicon-record"></i>仓库信息</a></li>
				{/if}



			</ul>
		</li>
		{/if}

		<!-- leftmenu -->
		{if in_case_array('sale',$priv) || in_case_array('invoice',$priv) || empty($priv)}
		<li class="nav-parent">
			<a href="javascript:void(0);">
				<i class="glyphicon glyphicon-signal"></i> <span>报表管理</span>
				<i class="pull-right glyphicon glyphicon-plus"></i>
			</a>
			<ul class="children">

				{if in_case_array('admin/sale',$priv) || empty($priv)}
				<li><a href="{url /admin/sale/index}"><i class="glyphicon glyphicon-record"></i>销售单列表</a></li>
				{/if}

				{if in_case_array('admin/invoice',$priv) || empty($priv)}
				<li><a href="{url /admin/invoice/index}"><i class="glyphicon glyphicon-record"></i>发货单列表</a></li>
				{/if}

				{if in_case_array('admin/sale/ranking',$priv) || empty($priv)}
				<li><a href="{url /admin/sale/ranking}"><i class="glyphicon glyphicon-record"></i>销售排行</a></li>
				{/if}

				{if in_case_array('admin/sale/details',$priv) || empty($priv)}
				<li><a href="{url /admin/sale/details}"><i class="glyphicon glyphicon-record"></i>销售明细</a></li>
				{/if}




			</ul>
		</li>
		{/if}
		<!-- leftmenu -->
		{if in_case_array('information',$priv) || in_case_array('notice',$priv) || in_case_array('informationnotice',$priv) || in_case_array('informationad',$priv) || in_case_array('informationsinglepage',$priv) || empty($priv)}
		<li class="nav-parent">
			<a href="javascript:void(0);">
				<i class="glyphicon glyphicon-globe"></i> <span>信息管理</span>
				<i class="pull-right glyphicon glyphicon-plus"></i>
			</a>
			<ul class="children">

				{if in_case_array('admin/notice',$priv) || empty($priv)}
				<li><a href="{url /admin/notice/index}"><i class="glyphicon glyphicon-record"></i>公告管理</a></li>
				{/if}

				{if in_case_array('admin/information',$priv) || empty($priv)}
				<li><a href="{url /admin/information/index}"><i class="glyphicon glyphicon-record"></i>资讯管理</a></li>
				{/if}

				{if in_case_array('admin/singlepage',$priv) || empty($priv)}
				<li><a href="{url /admin/singlepage/index}"><i class="glyphicon glyphicon-record"></i>单页管理</a></li>
				{/if}
				{if in_case_array('admin/brand',$priv) || empty($priv)}

				<li><a href="{url /admin/brand/index}"><i class="glyphicon glyphicon-record"></i>特约品牌</a></li>
				{/if}
				{if in_case_array('admin/adPlace',$priv) || empty($priv)}

				<li><a href="{url /admin/adPlace/index}"><i class="glyphicon glyphicon-record"></i>广告位管理</a></li>
				{/if}

				{if in_case_array('admin/ad',$priv) || empty($priv)}
				<li><a href="{url /admin/ad/index}"><i class="glyphicon glyphicon-record"></i>广告管理</a></li>
				{/if}




			</ul>
		</li>
		{/if}


		<!-- leftmenu -->
		<li class="nav-parent">
			<a href="javascript:void(0);">
				<i class="glyphicon glyphicon-wrench"></i> <span>网站设置</span>
				<i class="pull-right glyphicon glyphicon-plus"></i>
			</a>
			<ul class="children">

				{if in_case_array('admin/setting',$priv) || empty($priv)}
				<li><a href="{url /admin/setting/index}"><i class="glyphicon glyphicon-record"></i>站点设置</a></li>
				{/if}


				{if in_case_array('admin/nav',$priv) || empty($priv)}
				<li><a href="{url /admin/nav/index}"><i class="glyphicon glyphicon-record"></i>导航设置</a></li>
				{/if}


				{if in_case_array('admin/friendlink',$priv) || empty($priv)}
				<li><a href="{url /admin/friendLink/index}"><i class="glyphicon glyphicon-record"></i>友情链接</a></li>
				{/if}

				{if in_case_array('admin/remind',$priv) || empty($priv)}
				<li><a href="{url /admin/remind/index}"><i class="glyphicon glyphicon-record"></i>站内提醒</a></li>
				{/if}
				{if in_case_array('admin/remindsms',$priv) || empty($priv)}
				<li><a href="{url /admin/remindSms/index}"><i class="glyphicon glyphicon-record"></i>短信提醒</a></li>
				{/if}

				{if in_case_array('admin/security',$priv) || empty($priv)}
				<li><a href="{url /admin/security/index}"><i class="glyphicon glyphicon-record"></i>安全中心</a></li>
				{/if}




				{if in_case_array('admin/remind',$priv) || empty($priv)}
				<li><a href="{url /admin/message/index}"><i class="glyphicon glyphicon-record"></i>消息中心</a></li>
				{/if}




				{if in_case_array('admin/loginlog',$priv) || empty($priv)}
				<li><a href="{url /admin/LoginLog/index}"><i class="glyphicon glyphicon-record"></i>登录日志</a></li>
				{/if}

				{if in_case_array('admin/operationlog',$priv) || empty($priv)}
				<li><a href="{url /admin/operationLog/index}"><i class="glyphicon glyphicon-record"></i>操作日志</a></li>
				{/if}


			</ul>
		</li>


	</ul>
</section>
